Repository navigation
feat(id): boundary declaration record and invariants (#5683 step 2) - #8203
Conversation
…7782) BoundaryDeclaration in id-core: versioned, content-addressed (BLAKE3) record per design doc/2026-11-08_design_id5683.md sections 2.3/2.4/3/7 (PR #7781). Enabled-with-empty-enforcement is rejected with the named EnabledWithoutEnforcement error; effective(server, world, user) is intersection-only with a model-based narrowing property test, and conflicts deny naming the denying scope.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Agent note · merge disposition (task 14559, lane code-d) Codex findings gate (§5): the Codex connector review was attempted twice on commit 416377c — on PR open (2026-11-10T19:52Z) and on a manual Merging under the standing criteria on local verification instead: |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
Fixes #7782
Implements step 2 of the #5683 residency & boundaries design
(doc/2026-11-08_design_id5683.md §2.3/§2.4/§3/§7, filed as PR #7781):
the
BoundaryDeclarationrecord inpkgs/id/crates/id-core/src/boundary.rs.canonical body; monotone versions checked by
ensure_supersedes.enabled: truewith an emptyenforcement set is rejected with the named error
DeclarationError::EnabledWithoutEnforcement; the default record is off.effective(server, world, user)is intersection-only (enforcementpoints and accepted evidence sources intersected, strongest failure
behaviour, highest assurance bar), with a model-based property test;
a conflict returns
EffectiveConflictnaming the denying scope.Tests:
cargo test -p id-core boundary(unit + proptest) — see thequeue task 14559 checkpoints for the run record.
Resumed from the uncommitted implementation a prior opencode session
left in this task's worktree; the record was aligned to the design's
§2.3 field set (
evidence_req,data_ref) and the missing narrowingproperty test was added.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.